package com.taglab.chic.atom;

import java.io.Serializable;

/**
 * @author Markus Kobler
 */
public class Text implements Serializable {

  private static final long serialVersionUID = -6664403340595608238L;
  
  private String type;
  private CharSequence content;
//  private InputStream in; // XXX add InputStream support

  public Text() {
  }

  public Text(CharSequence content) {
    this.content = content;
  }

  public Text(String type, CharSequence content) {
    this.type = type;
    this.content = content;
  }

  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }

  public CharSequence getContent() {
    return content;
  }

  public void setContent(CharSequence content) {
    this.content = content;
  }
  
}
